-
Home
-
NM Gift Registry and Wishlist Lite
-
5.9.1
-
Code
-
Classes
- Form
Total Complexity |
170 |
Dependencies |
6 |
Dependents |
5 |
Total lines |
1,016 |
Lines of code |
678 |
Logical lines of code |
310 |
Comment lines |
212 |
Methods |
30 |
Properties |
6 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_fields() |
D |
20 |
34 |
253 |
get_fields_html() |
C |
33 |
30 |
83 |
validate() |
C |
35 |
30 |
74 |
modify_form_fields() |
C |
39 |
25 |
61 |
set_values() |
S |
54 |
6 |
21 |
sanitize() |
S |
53 |
4 |
22 |
get_shipping_fields() |
S |
57 |
4 |
15 |
create_radio_group_field() |
S |
49 |
3 |
28 |
create_custom_checkbox_switch() |
S |
55 |
3 |
18 |
__construct() |
S |
68 |
4 |
7 |
verify_nonce() |
S |
65 |
3 |
8 |
get_error_messages() |
S |
67 |
3 |
9 |
get_submit_button() |
S |
62 |
2 |
11 |
set_data() |
S |
63 |
2 |
10 |
save() |
S |
70 |
2 |
6 |
set_type() |
S |
80 |
1 |
3 |
get_fields_error_messages() |
S |
82 |
1 |
3 |
has_errors() |
S |
80 |
1 |
3 |
get_wishlist() |
S |
82 |
1 |
3 |
has_fields() |
S |
75 |
1 |
4 |
remove_optional_required_html() |
S |
71 |
1 |
5 |
get_hidden_fields() |
S |
74 |
1 |
4 |
get_nonce_field() |
S |
74 |
1 |
4 |
get_nonce_key() |
S |
76 |
1 |
4 |
create_checkbox_switch() |
S |
78 |
1 |
3 |
get_error_fields() |
S |
80 |
1 |
3 |
add_error_message() |
S |
80 |
1 |
3 |
create_hidden_field() |
S |
73 |
1 |
4 |
get_type() |
S |
82 |
1 |
3 |
get_data() |
S |
82 |
1 |
3 |